package com.hrms.dao;

import com.hrms.pojo.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LK
 * @since 2021-10-19
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<String> selectDeptByName(String s);
    //根据用户名查询
    List<SysUser> selectByName(String userName);
    //根据用户名查询角色名
    List<SysUser> selectRoleByName(String userName);


}
